Fix for default values and setters
Moved defaultsoptions to the top of dao.js so it's only init'ed once
Merge pull request #1492 from janmeier/defaultvalueSetters

Fix for default values and setters