Switches DatabaseHelper to use the application context instead of the activity.
Switches DatabaseHelper to use the application context instead of the activity.

This makes it safe to pass an open Database object accross
non-configuration activity restarts.

dlzr/patois