Add tweet button funcationality

Added hook from Spring Data REST resource to manually built Spring MVC endpoint. Then used this to fashion a tweet button, linking to the individual image. In the process, wrote an automated test case, exposing the missing bits from the projection.
Replace curl.js with RequireJS and require-css.
Merge pull request #6 from gregturn/requirejs

Replace curl.js with RequireJS and require-css.
Use RequireJS 'deps' config option instead of programmatically kicking off the application's main module.
Ignore generated .bower.json files.
Move configuration in index.html files to a RequireJS 'data-main' file.
Switch from a global variable to a data-* atribute on the document element.
Update onImage.html to match usage of RequireJS just like index.html.
Merge pull request #7 from gregturn/move-config

Move configuration in index.html files to a RequireJS 'data-main' file.
Create app package, move main.js. Extract follow module

Modularize main by extracting api and rest.js usage, twitter utils,
and image reading, follow() function, etc.

This commit also tweaks a few other things:

1. Connects previously disjoint promise graphs to allow error propagation
2. Uses jquery event delegation instead of if/then tests
3. Other minor refactorings here and there to reduce indentation, etc.

This commit doesn't deal with mobile.js. We discussed potentially
switching away from jQuery Mobile to a pure css responsive approach.

Removed curl.
Merge pull request #8 from gregturn/modularize-main

Modularize application
Add paging support to hypermedia

Hypermedia API now has Spring Data's paging interface. This should make it easy to control volume of data being downloaded.

NOTE: Removed redundant @RepositoryRestResource annotation.