Minor typos fixed so that the entity autocomplete works for users

Visit http://mycollectiveaccess/index.php/administrate/access/Users/Edit/user_id/ and get javascript errors and no working autocomplete. This pull request fixes that.