A restful(ish) DPS calculator for Borderlands 2 in PHP