Fix creation of publication dates in SolrAdapter for eprints and thesis

Fixes issue #65 
Small request WRT style: Could you put this function outside of the class, and don't start the name with `_` (`def foo(arg)`)