Added gitignore rules to ignore build directories
Makefile tweak for tests to work with ghc 7.4.2
Replacement functions for stacked layouts. These now allow merging of the
legends, and optional hiding of the redundant x labels.