Removed some global functions

1. Moved getActionTarget to the character class
2. Moved pluralize to string.pluralize