Support for string auto-increment and string ranges

Replacement for https://github.com/MoeOrganization/moe/pull/54