Fixes applied per Pull Request #387 comments.

Error logging added to mil-sym setModifier and getModifier functions.
cws aliasModifiers referenced by "." method vs [].
Replace for...in loop with loop through array of object keys by
index for performance issues based on lessons-learned in TrueGame.