start moving consts to constants.go
Merge branch 'constants' into 0.9