Made defaultFor accessible
Only return positive priority if database is an AbstractJdbcDatabase since subclasses depend on that heavily
Changed tabs to spaces