CORS filter, witoldsz auth demo

Added in a Java filter to implement server-side CORS.
Also moved existing stuff to side (prefix my*), and brought in the
witoldsz authdemo (from https://github.com/witoldsz/angular-http-auth)
and upgraded to Angular 1.2.x