Adds initial helper function from original
First chunk of the rewrite of my config.org done.. not checked in any elpa pacakges yet
Some bits and bobs including magit mode which I would like to remember
to use.