Added #defines for the supported puzzles. Swig is now configured to produce java constants, and I updated c_to_emscripten.py to produce javascript constants.