ui.router states - url handling

Added options to handle ui.router states. It's now possible to create urls without the need to use the base path /:model.

Example:

.state('model::list',{
  url: "/el/:model",
  templateUrl: "app/partials/base-list.html"
});

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
check if the request is state based or location based

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Added demo code for ui.router states

The demo is available under states.html. Most part of the code is the same only the main JS files differ.

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Merge branch 'uirouter-states' of https://github.com/DominicBoettger/forms-angular into ui-router

Conflicts:
	.gitignore
	app/index.html
	app/js/controllers/base.js
	app/js/forms-angular.js
	app/partials/examples.html
	bower.json
	dist/index.html
ngRoute option split out apart from routeParams
ngRoute option really split out apart from routeParams
routeParams no longer required by base.js
Tests updated to reflect recent changes and working OK