Test mmm-mode for HTML/JavaScript/Mason

Mason is not turned on by the committed configuration.
Add another (optional) configuration file that is read at the end of main.el.
Fixes for the case when emacs is running in a terminal.
Set more defaults for project-mode.
Update to new version of dtrt-indent-mode.
Handle cperl-mode in dtrt-indent-mode.
Small refactrorng to auto-indent code.
Turn on auto-indent for Perl code.
Add scala-mode2 to local packages.
Autoload Ack mode.
Add local copy of python-mode.
Use local copy of Python mode if it is not installed.
Use absolute paths in .gitignore.
Add basic ELPA configuration, for testing.