added test cases to autocomplete user plugin
added comments to code

git-svn-id: https://svn.apache.org/repos/asf/bloodhound/branches/bep_0013_dynamic_clientside_features@1617996 13f79535-47bb-0310-9956-ffa450edef68