API rate limiter

As discussed on https://forums.eveonline.com/default.aspx?g=posts&t=357979&find=unread

Have applied PSR-2 formatting, let me know if I've missed anything or need to make further changes.