Fix link between publications and pending documents
Register uuid from psycopg2.extras

Otherwise we get this error:

(ProgrammingError) can't adapt type 'UUID'
Merge pull request #4 from Connexions/fixes

Fixes link between publications and pending documents