Add trigonometric functions to SQLite backend
The sqlite backend currently does not support the trigonometric functions such as cos, sin, tan...
These are available in postgresql and in python-sql, and it would be useful if these were available when using sqlite.