WIP ext: CrossRef Flask extension

* Queries DOI record data from the database or CrossRef as JSON.

* Closes #1906.
It behaves normally, there is just checking if the url is being accessed and if the user is logged in, I guess it doesn't reach any JSON handling.