added uiview extensions

uiview layer methods moved extension class.
added cgrect tools