Fixing on save hooks, whitespace cleanup, etc.
Adding php mode hooks to fix indentation.