Moved loadNpmTasks and registerTask calls to top of Gruntfile.js (no functional change)