initial checking of SQLite version 3.7.17
patch for supporting long filenames

This patch allows to use long filenames (up to 8k chars) on all
platforms. On Windows you need to pass in filenames with the "\\?\"
prefix (see:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath).