Refactor shape subclasses into foundation/shape module. Add requirejs task to Gruntfile. Fix docs in CanvasDrawer.