update tweak side for newer theos/ios and coding style
fix prefs for ios 7 and latest coding style
pretty much complete rewrite and new api - unfinished