fixed ios7 warnings for dismissModalViewControllerAnimated vs dismissViewControllerAnimated:completion: etc
backwards compatibility for < iOS 5
Merge pull request #384 from graceful/ios7-warnings

Fix iOS 7 warnings for dismissModalViewControllerAnimated and presentModalViewController