API upgrades

Allow the API user to specify how the view should behave when touched and to block touches from dismissing it until specified otherwise. Added the ability to provide autoresizingmask and contentSize when initialising the popover controller object.