add helper tool for starting new mode
cleanup tools directory
Merge pull request #2135 from ajaxorg/tool/add_mode

Add tool/add_mode.js for creating stub files for a new mode