Add unittests for models
- Add test cases for Node, DAG, and Keyword
- Fix bugs in models
To run unittests, issue $python manage.py prooftree