Close gh-524. AMD adjustment. Define Raphael as an anonymous module and minor bug fix.

I missed gh-524 before. It seems to be a duplicate issue. Merging this will close that automatically.

The adjustment here is to define Raphael as an anonymous module rather than a named one. This is more flexible as it enables the user to stick raphael anywhere without needing to adjust `paths` in loader configurations. This required some minor build adjustments, which had the advantage of saving a few bytes as well.

As for the svg and vml files, the build now injects them directly into the module definition, which means the require calls they had before are rendered unnecessary.