SQL file for DB changes

This is a delta file containing only the changes for this feature. You
must have imported the main database structure first, specifically the
member table, in order for the constraints to work.
Intermediate commit to save progress.
Intermediate commit to save progress.

Having trouble figuring out how to define the Member table and it's
relationships in Flask-SQLAlchemy.
Models and tests done for now.
Added a runlocal command to manage.py to allow local testing more easily
Improved runlocal slightly to drop database tables and session after server is stopped.
Added the beginnings of a test suite.

This will let us split our tests into different files, making it easier
to see what tests are available and what is missing.
Merge branch 'runlocal' into permissions
Added runtests option to manage.py to simplify running unit tests
Factored some tests into separate suites

Tests for Permissions feature are now all contained in their own files,
and use the unit_tests_all.py file as a containing suite. Running that
file runs all of the tests for Permissions feature.
Partial controllers code and tests.

NOTE: unit tests are incomplete and not working properly. Discovered
that the cascade delete on models is set up wrong, I think deleting one
bridge record is taking much of the database, and lots of other tests
fail due to that. Commented the test that's causing the problem, will
try to fix it tomorrow. zzzzzz
Added some additional batch files for easy execution of all tests and starting of server with local database files.
Refactoring unit tests and db relations

Partial changes, still not complete.
Finished refactoring model relationships

Unit tests for model and controller all pass. Controller methods in this
commit are internal methods that would be used by outward-facing
controller methods. More to come soon.
Merge branch 'master' into permissions
update unit_tests_all file permission and add *.db to ignore
disabled some page not found links
Merge branch 'master' into login

Conflicts:
	ESA/fixtures.py
	ESA/models.py
	ESA/unit_tests.py
	ESA/unit_tests_controller.py
remove unnecessary .idea directory and added to git ignore