Introduce pytest framework and documentation
Added an HTTP interface to `project_deploy`.

The extra line added to `api_function` gets around an exception flask
was throwing wrt duplicate function names for views.

The URL and HTTP method are different from what was previously documented
in `doc/rest_api.md`; the docs have been updated to match.
Merge remote-tracking branch 'moc/devel' into project_deploy
Task: Change *_create to *_register, for all physical hardware (switches, ports, nodes, etc).
Add test_common.py
Update testing doc
Update line wrapping
More apostrophe removal
-Fix docstring for init_db()
-Switch testing to ignore .venv (the suggested virtualenv directory; more consistent with .gitignore)
Merge branch 'devel' of https://github.com/CCI-MOC/haas into testConfigEnhancements
Add vim swap files to .gitignore
Merge remote-tracking branch 'moc-ssh/devel' into devel
Merge pull request #99 from henn/testConfigEnhancements

Introduce testing framework using pytest
Minor formatting issue with testing.md
Added an endpoint for the cli tool to haas.cfg.example.

This will be the correct endpoint when haas serve is invoked from the
cli.
Trailing whitespace.
Fixed some pep8 violations.
Implemented the CLI for project_deploy, refactoring in the process.

Note that the HTTP bit of project_deploy is not yet implemented.
Trailing whitespace
pep8 violation.