Switched Makefile to use -C option.
schematool/schemamod can now be used in other directories more easily. Emits and compiles two erlang modules.
(Not sure if this is the permanent solution, may be better to store schema versions in the database itself.)
Preliminary support for storing schema versions in database. Extra check: nodes must be non-empty.