Reorder methods and variables to follow the SS coding conventions

The coding conventions is mentioned here http://doc.silverstripe.org/framework/en/trunk/misc/coding-conventions#class-member-ordering