Stop encoding array dimensions in the struct tag since they are not
not necessarily valid at run time anyways.

Add some information about lengths to aid decodeType in its parsing while we're
at it as well.
Merge pull request #166 from pjonsson/encodeDecodeType

Revamp encodeType/decodeType