Upgrade SQLite to 3.8.5

- Upgrade SQLite from 3.7.16.2 to 3.8.5.
Update OpenGL code for wxWidgets 3

galaxql.cpp
galaxql.h

(GfxPanel::GfxPanel)
- Make wxGLContext a part of GfxPanel.
In prior versions of wxWidgets, wxGLContext used to be implicitly
created inside a wxGLCanvas (base class of GfxPanel).