Apply PSR-2 formatting
Improve:
- Variable scoping
- Method scoping
- Docblocks
Add download link for stable version
Merge pull request #3 from timoschaefer/1.0

Merge branch '1.0'