Updated for compatibility w/PHP 5.4

* Removes a function call w/passed-by-reference variable
* Updated for latest CF code standards
* Version bump to 0.2
Put the elseif condition on a new line per coding standards.