change constants to enum
Merge pull request #805 from Catrobat/changeToEnum

change constants to enum