[FIX] Remove logs/ directory from git

[FOLD] do not save logs for test environments

[FIX] Create log directory and file if not exists

[FOLD] Pass jshint
Merge pull request #509 from ripple/remove-log-from-git

[FIX] Remove logs/ directory from git