support for two different mapred-site files, based on if you are using mr1 or mr2
ensure config directory exists
support passing in a version to rpm and apt sources
Merge remote-tracking branch 'upstream/master' into cdhversion
Merge pull request #16 from supertom/cdhversion

small change to support CDH version