Add node flows tests.
Remove unused code.
Fix jshint complaints.
Add setFlows test.
Removing orphaned function.
Merge pull request #269 from zobalogh/master

Removing orphaned function: localfilesystem.writeFile(root,path,meta,body,res)
Merge pull request #267 from hindessm/flows-tests

Flows tests