CORE,REGISTRAR: changed SimpleJdbcTemplate to JdbcTemplate

- SimpleJdbcTemplate is marked as deprecated so JdbcTemplate should
  be used instead. Class API is the same, but support ResultSetExctractor.
- Removed some unused imports.
- Instance check is kept in Utils.getNewId() since somebody still may pass
  this class as data source.
CORE: Fixed jdbc data source type for Searcher

- Use NamedParameterJdbcTemplate instead of JdbcTemplate since it can't
  handle named parameters used in Searcher.
- Commented out stdout in Searcher tests.

  Note: Previous SimpleJdbcTemplate (deprecated) combines JdbcTemple and
  NamedParameterJdbcTemplate, so it was possible to pass both types of params
  to the same jdbc template. Now we must choose and pass proper params.
Merge pull request #390 from zlamalp/jdbc

CORE,REGISTRAR: changed SimpleJdbcTemplate to JdbcTemplate