Add badges system.

Ref #36
Fix few optimizations
Updated Readme
Test adding testcases for php 5.4
test 2
test 3
Reset config
Merge pull request #37 from Xety/events

Add badges system.