Add build system

Remove regex from the js
Move code to .in.js, compiles into the .js
Add pre_minify to minify the state strings
Move test site into a test/ folder
.gitignore *.min.*
Add -d flag to eqn_detect_generator.py for debug
Make eqn_detect_generator.py include 'var chemRegex = '
- For pipeline purposes