Using typedefs for certain contants which used to be just integers, github issue #41
forgot one, Scope constants should be declared under the scope type, github issue #41
Merge pull request #45 from moovweb/typed_constants

Typed constants
merging updates from master