Fix #638 Set "Record Region" after selecting region

- Automatically check the "Record Region" button after the user selects
  a region to record.
- Rename the "Set" button to "Select Region".
Fix #614 Add video scaling options

Freeseer now supports converting video signals from one display
resolution to another. Technically we already supported this, but there
were no scaling options so it wasn't very useful.

The following scaling options are now available when recording video:

- No scaling
- 240p (320x240)
- 360p (480x360)
- 480p (640x480)
- 720p (1280x720)
- 1080p (1920x1080)
Added database.py tests and refactoring

-Removed test methods that only check function return types
-Created resources folder for common test data like test rss feeds
-Fixed database.py query bugs
-Added database folder for database related tests
-Refactored common database fixtures into the database conftest file
-Refactored comments in database.py
-Refactored queries in database.py to have better style and santization
-Added comments and examples of the presentation time stamps
-Removed unused functions from database.py
-Added httpretty mock tests for database.py
-Added a database schema upgrade test
-Added tests that check multiple scenarios of each method in database.py
-Replaced string % operators with calls to format for nonlog string formatting
-Removed several try/finally statements and replaced them with 'with's
-Fixed an exception logging statement which referred to an out of scope value

Related #484