Fixed 'operation/reopen' bug.
Finished implementing locate termination.
Added locate.appcache support. Close #98.
Added Roles class