Use named module amd syntax

Simply calling `define(paper)` in a r.js build throws a deps error. Switching to the named module syntax fixes this issue.

Libraries such as jQuery and Hammer.js use this syntax for AMD support.