Rest Services and LoginModal addition

Adds REST code currently running on Tomcat. Also cleaned up directories so should be able to easily find stuff.


Also adds the LoginModal to our www/js/components directory.  Currently isn't rendered on our web-page but creates the following window:

![image](https://cloud.githubusercontent.com/assets/5753059/5101375/ea19d14e-6f7c-11e4-9c69-c4f307a1780b.png)
nitpick: missing an indent in the try section