added the license

MIT looks good to me, the upstream licenses are BSD-3 clause and the PHP license (BSD I assume?), so we should be able to use MIT (http://programmers.stackexchange.com/questions/121998/mit-vs-bsd-vs-dual-license) or dual license it.