scripts: Added basic database search script
search: Append joined tokens to token list only once
search: Added comments
search: Added NULL constant literal_column
search: Added search_query() function
Merge branch 'master' into search
search: Use integer cast instead of case expression
search: Renamed "relevance" factor to "weight"
search: Renamed ilike_as_int() to weighted_ilike()
search: Injected weighted_ilike() method into String type
search: Moved weighted_ilike() function into skylines.lib.sql module
tests: Added lib.sql unit test
lib/sql: Added default for weight parameter
search: Removed trivial weighted_ilikes() function
search: Added escaping and * as wildcard character
search: Remove type parameter

We can use the table names of the individual models instead
search: Simplified token matching creation
search: Added weight_expression() function
search: Added constant PATTERNS list
search: Added comments and more explicit variables