minor fix: adding registering resource using stream to the resource config.
minor fix: changing method signature to getSearchable.
minor fix: more refactoring, removing the checksum field!
minor fix: sanitizing the query and field.
minor fix: adding searching using filter (pending: filter operator).
minor fix: adding precondition check for filters.
minor fix: using null clause in the search query to prevent empty query being executed.
minor fix: minor fix to use the correct query clause.
minor fix: removing debug message.
Merge pull request #32 from nribeka/refactoring

Refactoring