allow configuration of path for sqlite database
Improvements to sqlite path configuration, support relative and absolute paths as well as enforcing .db suffix
fix for broken php5.3 build
Merge pull request #1181 from rossriley/sqlite-db-path

allow configuration of path for sqlite database