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)
I thought we had decided to only allow links to URLs and not uploading of files because that would have been much harder. In this case, this should probably be a URL object rather than a String.