Added Full Support for iOS, Kindle and BlackBerry Mobile Devices.

This PR updates the mobile browser detection along with some minor formatting updates.