Factor out common app code for loading languages.  Fix paths for eu & pt maze app. Add RTL flag to code app.
Review URL: https://codereview.appspot.com/8497045

git-svn-id: http://blockly.googlecode.com/svn/trunk@743 c400ca83-b69d-9dd7-9705-49c6b8615e23