Update to php deprecation; gruntfile improvements