adding support for custom collate functions

SQLite supports custom collating functions. Expose a method that can be used to add a named collation function to sqlite