Updated LICENSE.txt and license headers, from AGPL to BSD