Ensure as first attribute

linting fixes:
modules/nodejs/manifests/init.pp - WARNING: ensure found on line but it's not the first attribute on line 94
modules/nodejs/manifests/init.pp - WARNING: ensure found on line but it's not the first attribute on line 118
modules/nodejs/manifests/init.pp - WARNING: ensure found on line but it's not the first attribute on line 135