Fix saving metadata to smb locations

- moved file/folder operations from os to xbmcvfs where possible
Fix typo
Updated SQLite log msg to produce sqlite version
Added init of episode meta fields
Removed get_data function which was not being used
Split out format_meta to it's own function so as to be called when needed
Simplified cache_save_video_meta function and removed select to check if entry exists - it should have already been checked
Added very early support for batch meta lookups
Added ability to query episode meta by air date
Greatly simplified get_episode_meta function
Merge remote-tracking branch 'upstream/master'
Merge pull request #8 from bstrdsmkr/master

Various fixes for non-local saving of metadata
Merge branch 'master' into frodo

Conflicts:
	lib/metahandler/metahandlers.py