A deeper pass through the scripts and other files to start to standardise the functions, naming conventions etc...

Not completed - further passes will be required, could do with adding a recommended plugin list for WP users

Signed-off-by: David Clough <dave@thecodepharmacy.co.uk>