Add optional database table prefix (issue #118; see issue comments for details)