History handling

Removed the funtions from lims_utils, put them in genologics.entities , see PR https://github.com/SciLifeLab/genologics/pull/64/


Changed the calls to these functions to use the object. 

Added error handling to a small thing that broke once, when the History object failed to be created properly. 
I added that because I wanted to be able to use the scripts in lims_utils as modules. However, the old setup config thinks __init__.py is a valid script that should be compiled (since the list is made via globm is just takes everything in the folder).  I just make sure that __init__.py is removed from the list of scripts to precompile.