Restrict bitwise operators to numeric types
Convert dynamic to string for binary operations with strings

This addresses issues where we were doing reference comparisions
instead of value comparisions.