Add PDF Normalization

#566. Still need to fix some coffeescript syntax, use random.Id, add a database migration, change `files` to `cached`, and update comments.
Sure, but where should I put the function, [here](https://github.com/peerlibrary/peerlibrary/tree/development/server/lib/lib)?