minor fixes

extended rhbarbuttonitem, rhbutton
added macro to detect iOS6.1 and earlier