Update tfa.php

Applied PHP5.2 compatibility
Create CHANGELOG.md
Merge pull request #38 from mManishTrivedi/master

Merge from Manish Trivedi acc