modified .gitignore

* ignore text-editor backup/working files
added scripts

* test script
modified logtrail.js

* removed explanatory comments
* added config capability
* excluded unnecessary methods
* added (conventionally) private simple getters
* rewrote log method (renamed to _logger)
* logtypes now have specific flags instead of generic [logtype] flag

TODO:

* add log functions for each logtype
* make logtypes extensible