Gem version updates - can't use latest version (4.0.0) of haml and coffee-filter updated.
Minor fixes for repository routines.