Add credentials parameters and catch query exceptions
Merge branch 'master' of https://github.com/sltang/jackrabbit-migration