Bugfixes and code improvements.

Added convenience constructors to SMFancyTextElement class.
Removed _context ivar from SMFancyText.
Converted some magic numbers into consts.
Replaced checks for nil equality with not operator.
Replaced for loop in SMFancyText drawRect: with iterator.
Leading whitespace removal works again (with faster/more accurate
algorithm).
Replaced calls to strcmp() with xmlStrcmp().
Another whitespace fix.

Whitespace count is correctly calculated.
Bugfix to image links and refactoring.

Removed _currentPosition ivar.
Split drawString's UIView creation sections into new methods.
Fixed links on images.
Refactored variable name.

Renamed "theRect" to the more descriptive "frame".
Merge pull request #4 from ant512/master

Bugfixes and code improvements.