Add license and badges.
Change minimum PHP version requirement to 5.4.