Username Index for user

Added a username index field for quick user lookups by username. Also
added a new method in the index interface that allows searching for
users by username.
Updated all tests to match the new metadata.