Added size macros.

On very resource constraind devices you need to be able to
control the size of all buffers and structures placed on the
stack.
Merge pull request #435 from jhnwkmn/size-macros

Added size macros.