Updated/Added/Fixed PHPDoc Blocks.

- Fixed typo(s)
- Fixed blocks having wrong format
- Fixed comment blocks
- Added missing types
- Added missing doc blocks (with explaination)
- Added missing @params
- Added reference to other methods (Referenced using @see wherever
required)
- Formated doc blocks (grouping, line breaks, missing vars)
- Removed additional space(s)
Aded line breaks and aligned comments

Updated as per request.
Don't check against CSRF if there was no state (code) generated.

If in a signle handler you call the getCode twice, the function
logs that there was a Token mismatch at ERROR level. This is not
valid because the functions resets the state but forgets to check
against it
Remove excessive identation and check if state is set before comparing
Add linebreak for code standarts
Cleaner condition
Merge pull request #120 from irazasyed/master

Updated/Added/Fixed PHPDoc Blocks.
Remove check of $this->state if is null since it's not needed
Merge pull request #122 from jimmykane/master

Don't check against CSRF if there was no state (code) generated.
Merge pull request #1 from facebook/master

update from source