elmah configured, rakefile updated to handle different environments

Signed-off-by: Chris Jones <chris@jonezy.org>