Separated client side code into modules.

All Backbone pieces are now part of a module in the `lib` directory and will
be required as needed.