Refactoring changes for Questionaire layout

Separated debug version (WIP) from standard version which can be used for demo.
Fixed JS convert.rb to ignore "if __FILE__ == ..." blocks

Previously it crashed (with little information) whenever this block is used.
Small addition to tests
Added JSON generation to makefile

Makefile for Javascript translation can now also generate (and clean) the
necessary JSON files for use by enso.js. Usage:
  make load-json     #will load all JSONs
  make questionaire  #load JSONs used by QL and run make
  make clean-json    #equivalent to running cache.rb