Added requireJS beginning and ending closures. Added grunt build task for requireJS.