Add namespacing to Code app.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12860045

git-svn-id: http://blockly.googlecode.com/svn/trunk@1230 c400ca83-b69d-9dd7-9705-49c6b8615e23
Simplification of svgSize function (no need to cache top and left).  Switch scrollbars to use proper coordinate conversion.

R=tobyk100@gmail.com

Review URL: https://codereview.appspot.com/12848046

git-svn-id: http://blockly.googlecode.com/svn/trunk@1231 c400ca83-b69d-9dd7-9705-49c6b8615e23
Change resizing of Blockly Apps so that Blockly never scrolls off the top.  Fix bug where mouse coordinates are wrong if scrollbar has been used.

R=spertus@google.com

Review URL: https://codereview.appspot.com/12856044

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