Isolate magic numbers

Created constants for all used CHAR_INFO.Attributes flags and replaced inline magic numbers.