GUI: Removed cross-site scripting hack for devel

- Cross-site scripting is no longer possible for development purpose.
  Use local Apache server and Tomcat or Jetty to run Perun locally.

- New JsonClient is not limited to standard timeout of 30s and
  waits for Apache timeout/response.

- Json(Post)Client now handles 401 and 500 responses as onError().
  For 500 also determine, if it was timeout (longer than 5 minutes).

- Removed unused stuff and properties, source format.
GUI: handle also 503 error for JsonClient
GUI: handle 404 case in JsonClient

- Tomcat returns 404 HTTP status code while redeploying webapp.
- We expect, that JsonClient always call valid URL (RPC), so
  exception text inform about server being restarted.
REGISTRAR, RPC: added new init method for new registrar gui

- New method will load almost everything in one call into
  registrar to determine and display current state
  (e.g. user is already member, can/can't extend membership etc.).

  It won't be used by old registrar gui !

- Added new AlreadyRegisteredException thrown when user is
  member of vo/group and tries to get initial application.
REGISTRAR: catch also MemberNotExistsException

- When retrieving data for initRegistrar() catch MemberNotExistsException
  for extension app form, since it's correct minor exception.
Merge pull request #547 from zlamalp/registrar

REGISTRAR, RPC: added new init method for new registrar gui
Set group creator as group admin

Set group creator as group admin unless he already have authz rights on
the group (he is VO manager)
Add topGroupCreator to method manageRole

 - topGroupCreator was not supported in method manageRole
  - add to remove part
  - add to add part
Merge pull request #548 from stavamichal/addTopGroupCreatorRoleToManageRole

Add topGroupCreator to method manageRole
TopGroupCreator can get vo by method getVoByShortname

 - add privileges for topGroupCreator to method getVoByShortname
Merge pull request #549 from stavamichal/topGrCreatorCanGetVoByShortName

TopGroupCreator can get vo by method getVoByShortname
GUI: encode query string 3 times in registrar

- When passing target_url param for consolidator link, it's
  value must be URI encoded 3 times, because consolidator
  performs 3 read (decodes).
Merge pull request #550 from zlamalp/url

GUI: encode query string 3 times in registrar
Merge pull request #546 from zlamalp/json

GUI: removed cross-site scripting hack