Chain & chainparams doxigenification

Updates comments in chain and chainparams to be doxygen compatible. Also corrects license when necessary.