fix a case where there is no placeholders in url
added a representation of an app state
added an event object to fire when state changes
added methods to check and retrieve a parameter from the route
added the entry point to appstate mechanism
automatically boot the appstate if routes exist in the container parameters