Don't reverse sort of views/perspectives/preferences
Fix handling of view names with ( or )
Select a patient first (nice for demoDB)
Added support to run with different mysql/postgresql/h2 and demoDB