Behave tests and support for multiple object logging

Added basic behave tests
Added support for multiple object logging - relies on the fact that Flask-SQLAlchemy sets autoflush to False - may need to switch to pre-flush event handler later