Code now compiles, still not working though

Working on refactoring the code. At present I've ported the code into the ScaleAxisDetails class that deals with crating the UI and populating them.

Next I'll be altering the Dialog to actually use the class when populating itself.

I have found a bunch of functions that don't seem to do anything so they're disabled until i can find out if they actually do something

Refs #7865