Make it work with two plugins.

bottle>=0.10 changed behaviour to replace plugins with the same name,
so I have to patch the name if a plugin with the same name already
exists.
Fix all PEP8 warnings, including a missing import (added the
`test_raise_sqlite_integrity_error`).
More tests, based on bottle-sqlalchemy unit and regression tests.