chore(amdwrap): use amdwrap on plugin

remove the CommonJS AMD Wrapper in the source file and use grunt-amd-wrap instead.

.
refactor(validator): remove the AMD wrapper