add function isNotNil() to detect UIAElementNil
use new isNotNil() in place of old UIAElementNil checks
fix typeString: faster typing, iOS 6/7 compatibility, .clear() function added
Whitespaces fixes (indenting sorely needed).  NO CODE CHANGES
add isNotNil to UIAELementNil objects, along with other functions (for consistency)
Update readme with style preferences as per @alexvollmer
apply javascript style
Merge pull request #61 from ifreecarve/master

Reliability fixes & JavaScript style cleanup