Got tree menu items loading async so the menu is not part of the treenode json. Created docs for using Umbraco resources and how to use promises properly. Created a helper: angularHelper.resourcePromise for use with all of our resources (still need to convert the rest). Got the legacy tree data working with seperate requests for menu items (not too easy!)
Merge remote-tracking branch 'origin/7.0.0' into 7.0.0

Conflicts:
	src/Umbraco.Web.UI.Client/src/common/directives/umbtreeitem.directive.js
Converted compat.js to use namespaces
Fixed up the 401 issue with checking authentication, but now have other auth issues... but better than before :)
Fixed up the 401 issue with checking authentication which led to other issues of lazy loading in the legacy js tree JS block.
docs on navigationService

working ngDocs setup, started adding docs to navigation and dialog
service
Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0

Conflicts:

src/Umbraco.Web.UI.Client/src/common/directives/umbtreeitem.directive.js
	src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js
Fixed JS Build issues - Mixed spaces/tab issues, missing semi-colon. Fixed grunt build to ensure that a self executing function wraps the JS build output.
Changed auth.resource to use the new resource promise and also enhanced the resource promise + docs.
Fixes up resourcePromise
Integrated auth into the UI project and unit tests (you need to log in each time with arbitrary username/password). Fixes authorization, the auth check SHOULD return a 401 so that the MainController re-fires the auth check in order to re-set the 'authenticated' scope flag. Fixed err caused by trying to launch login dialog too many times when too many http calls fail. Converted over authResource to use correct resourcePromise structure. The mock auth is done with angular cookies, so integrated that too. Removes main.js since we don't use it anymore. Fixes media mocks. Removes call to get sections in navigationService since it is irrelevant and causing more issues when not authenticated.
Makes the 'active' property on a tab a server side thing, updates more resources to use the resourcePromise.
Converts media resource to use correct structure, fixes up the media editor and controller so at least stuff renderes now.
All resources now converted to using resourcePromise.
Fixes the dialog I broke yesterday

Adds some defaults to the dialogs, so we can open the inline without
animation as well
adds nodetype to tree converter
harcoded create dialog hacks
Got legacy create dialogs working

Its not pretty, but it works, and over time these hacks should slowly
fade away