prepare for a AMD-ready dist build
fixed grunt to produce a proper AMD prepped library file.
fix duplicate definitions when the files are combined into a single AMD module
regenerated library files / ran build scripts