remove enforceDefine flag

let me able to test app directly but not only through dist
tmp dev changes

- move views/login.html to views/login/form.html, the original view is
replaced with views/top_r.html
- add error view: views/error.html to show http 401 or 5xx error.
refine the sync/async js loading code

we can force to use sync loading by passing bSync as true when calling
_invoke
add an interceptor to handle 401/5xx error
login @ server side

unauthorized_handler is just returning 401, all logic in at client-side.
update js libs

- angular to 1.2.3
- new lib: angular-ui-router
fix error
replace angular-route with angular-ui-router
temp code