JDBCConfig improvments, closes #257.

- support for jndi
- support for multiple sort by elements in catalog facade
- tidied up some warnings