Merge pull request #3 from Otacon22/master

Admin page, login/logout page draft. Thanks to Otacon22
Merge pull request #4 from Otacon22/master

Adding adming page fix and features, thanks to Otacon22.
Refining pull request by Otacon22
Simplifying statement using inline if
Updating .gitignore
Using scoped sessions.
Adding missing trailing comma.
Logging status change failure.
Rolling back on integrity error.
Reverting status toggle which was swapped in error.
Not logging integrity error in engine since it's rethrown.
Replacing "close" with "closed" in enum.
Removing unused (and to-be-refactored) property.
Enabling connection pool recycle.
Fixing bootstrap script.
Removing unused imports.
Adding test package.
Adding "DO NOT REMOVE" notice to imports that must not be touched.
Closing DB session after use.
Having persist() to return consistent data by refreshing session before close()