fixed bugs in lib and book forms
added controller methods
added library model
added library id to books
added json, nested routes, libraries controller
json call almost working
phase3 complete with csrf tokens
Merge pull request #2 from taylorchiu/master

CRSF tokens submitting!