Work around MySQL library limitations

Tried using fetchone with limit=1 but it still crashes if for some
reason there is more than one result
Rewrite pack install logic for MySQL

Python didn't return the right data types for executemany() so metapack
installs were failing in on MySQL setups
Fix pack install/temp db upgrade code in MySQL setups

- Limitation in MySQL lib requires all values to be read from a select
statement (even though they're not used), else it throws errors.
- Rewrite metapack install logic for MySQL setups. Typo in connection
string was causing installs to fail.
- New logic accounts for installing metapacks from old databases
(tvshow_meta doesn't have a year column) in new databases
Merge pull request #6 from bstrdsmkr/master

Fixes for MySQL setups