wrote tests for getAvailableModels; made odbcResultToArray public

... and use _models instead of _graphs internally
add test for getBlankNodePrefix
wrote a simple test for getSearchPattern

remove some outcommented code in the function