Refactored sr app to enable rest api.

The segment routing application structure has been refactored
to the following structure :
	 ---- app
 	 ---- web

web folder contains the rest cli implementations while app folder
contains everything else. Originally I tried to split the application
in api / app / web, where api would contain all the interfaces. However,
that was not possible due to the fact that most of the classes do not implement
any interfaces and app -- api would result in circular dependencies and we would
not be able to build them.

Change-Id: Ifaaeefe2c5061c8457924ccd01678fb18966c44f
131 files changed
tree: a911c1c44f4ffc6c98a3461a3c5697e2b8729054
  1. BUCK
  2. app.xml
  3. app/
  4. features.xml
  5. pom.xml
  6. web/