Changed BOOL UI_APPEARANCE to integer

Because UI_APPEARANCE doesnt support BOOL for some reason
Detect if current locale is rtl
Email validation
iOS7 compatible UISegmentedControl

Just inherit from this one, if you want to give iOS6 the iOS7 look, so
your app is consistent.
Extracted my ViewController base to external lib

So we can more easily and automate the scrolling vs. keyboard behavior
for tableviews and scrollviews.