WIP ext: CrossRef Flask extension

* Queries DOI record data from the database or CrossRef as JSON.

* Closes #1906.
This function is called once and does one thing. Do you expect it to be used elsewhere?