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
Add perun.ldif to ldapc /setup folder

 - perun.ldif with all attributes and objects for perun ldap
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
GUI: fixed forgotten files

- We don't use request ID anymore.
Merge pull request #551 from zlamalp/fixup

GUI: fixed forgotten files
GUI: url encode only twice for consolidator link

- Hovering above return link (button) show decoded value
  in a browser, but url used by it is still encoded.
  So use encoding only twice for identity consolidator link.
Merge pull request #552 from zlamalp/consolidator

GUI: url encode only twice for consolidator link
REGISTRAR: fixed condition in initRegistrar()

- fixed condition on retrieving VO attributes.