Changed license from GPLv2 to AGPL.

Since web sites and services are never distributed in the traditional sense, the AGPL is the GPL of the web.
Updated docs.
Added require PHP extensions to composer list.