Added an options menu for QueryActivity.

Added a helper method for showing a toast.

Added and tested a menu item to clear query history.

Fixes #4
Maintain a single SQLiteDatabase and Cursor in each activity, closing both in onDestroy (and the Cursor, also, when replaced).  Not elegant, but should be OK for now.

Fixes #12
Also close database handler in onDestroy

Use a localized message after a SQL query
Updated manifest to require v11 and target v14

Added share item to the QueryActivity menu (doesn't do anything yet).
Simple CSV sharing is working (via a string, so can't share big results), towards #15
Use a temporary file to hold share results, so that they can be large.

Fixes #15
Started converting QueryActivity to a fragment per #15
Working version with fragments.
Not actually working yet.
Actually, wasn't working before - those were old, cached classes. Now layout is working as a fragment, but not (yet) app logic. per #16
Removed onClick attributes in query layout (they need an activity, not a fragment) per #16
restored options menu for query fragment
Re-enabled more of the app logic in  QueryFragment.
Start setting up more of the UI.
UI and app logic are working now, but not saving/restoring state yet.
All previous QueryActivity functionality now working in QueryFragment.

Fixes #16
Working with three hard-coded tabs
Minor cleanups towards #17
Started main activity menu with item to add a query tab
Adding tabs works from ActionBar.