Added a lot of functionality to retrieve options via the options hash.  the datastructure is a little deeply-nested now, but it'll work in almost all cases
removed the useless constants that I stole from dumbpig (http://leonward.wordpress.com/dumbpig/)