move constants to a separate module in hopes of fixing weird import error

http://manage.dimagi.com/default.asp?101176