Add overpermissions support, fix missing licenses, and correct all the
formatting problems.
Thanks @OverCaste