Doest 'coinbasevalue' in GBT call include fees, or just the total block value? BIP 22 doesn't seem to specify... Pretty important if you're building a coinbase by hand.
Judging from the output of a GBT call to bitcoind  (2505616072), it must include fees.