* Added break; to the switch statement in FormatExif::getFormattedData() which fixed numerous bugs
* Using @ to hide errors in Exif::isRational()
* Support formatting of FocalPlaneResolutionUnit
* Added debug info to Exif::validate()
* Fixed a debug error in Exif::isShort()
class rather than being dependand on the code in Image.php
* Made a new class FormatExif that takes care of formatting an exif array
(previously built into the Exif class)
* isRational and isSrational now include a check to make sure they're being fed
a fraction, spewed errors otherwise.
* (S)rational numbers are now converted to intergers/floats
per wegges suggestion because:
1. $in can't be a floating point number
2. When typecast php ignores any non-integers after the first row of integers
3. A regular expression would be slower and insanely complex
* Insert kind comments about php and remarks about how much I appriciate its existance here*
instead of every time an Exif object is created. Constants cannot be
redefined and this produces a flurry of notice messages.
Also renamed the very generic names, as constants are a global namespace.
* Fixed a bug in validate() that had to do with type casting, SHORT.','.LONG
would previously never have been evaluated as its value "3,4" was typecast
to 3 which matched SHORT.
* Added a new function, format(), to format the values of tags according to
the Exif 2.2 specification.