Fix database prototype
The database prototype setup method has a wrong signature and is used in beat/beat.editor> when creating a new Database asset.
This merge request fixes it as well as add the call to the default implementation which is mandatory for everything to be setup properly.
The setup method has been added to two Views in the test prefix so that its use is also tested.
Fixes #97 (closed)