Refactored books controller

Now handles sort and tags through index
Fix bug with tagging

Previously, commas would be removed between tags when editing,
which would result in one giant tag.