Getting the independent statusDB module in shape.

Pulling out the statusDB connection methods from our old (vastly messed up) repo `scilifelab`. Ideally, plan is to make a working/reconstructed (to little extent) independent module so we can proceed with generating reports and stuff. 

So might there wont any major cleanup now, but of course will do some cleanups on the way creating this.