Fixed sending cors headers
Fixed crash if db exists and dba tries recovery
Updated SPARQL

* Improved sparql_detalize
* Added support for STRBEFORE and STRAFTER
Partial fix for issue with TRANSITIVE codegen