Adds Makefile

This makefile will regenerate a meta.js file, so that the script can be automatically updated.
Adds a pre-commit hook

This adds a pre-commit hook and a configure script