[client][HatoholPriviledgeEditDialog] Fix a misleading ID
[client][HatoholPriviledgeEditDialog] Remove the argument of generateMainTable().

Use a member variable instead.
[client][HatoholPriviledgeEditDialog] Extract generating main table from a callback function
[client][HandlePriviledgeEditDialog] Add "error" flag to handle multi ajax call