Change template association to belongs_to
Fix factories
Fix books_controller_spec to include template association