rose.config_processors.file: improve table create

On database file creation, check whether the required tables exist, instead of whether the database
file exists. This should fix #1224.

This change also contains fixes for various problems reported by pylint.