Implemented db layer, finished block Loggables

So now we have a real backend, using c3p0(new dependency) to manage database connections.
There is a great deal of user-side configurability coming with it too.

Also finished the BlockHistory object.

Additionally I extended DbAdapter to also make insert and delete statements.
So all traffic from/to a database will go through the DbAdapater object.
Important: Those need to be closed after usage!