Make the constants have types

While Go will assign the correct type to a const block when it
auto-creates the values, assigning makes the const be typeless and will
only gain it in each particular use.

Make each constant in the blocks have an assigned type.
Merge pull request #129 from libgit2/cmn/const-type

Make the constants have types