Dependency updates, small tweaks and attempt to resolve db issues.
Configure local db setup via maven resource filtering.
Conform to db rules.
Merge pull request #767 from trautonen/master

Attemp to fix spark tests