Added JavaDoc for RPC methods

- createAlternativePassword & deleteAlternativePassword
Merge pull request #469 from Natrezim/rpcjavadoc

Added JavaDoc for RPC methods
Fix typo in name of U:D:altPasswords attribute
New behavior for setting required attributes

- add method setRequiredAttributes(member, resource)
- add metod fillAttributes(facility, resource, user, member) with returnOnlyFilledAttributes
 which return only those attributes which were filled
- add simple test of function

INFO:
This is needed because of problem with setting values to virtual
attributes. Before this commit, setting to virtual attribute can change
value in physical attribute.

Behavior now:
1] Get all required attributes
2] Fill all possible attributes
3] For those attribute with changed value by filling do
"setWithoutCheck"
4] Refresh values for all attributes (especialy for virtual)
5] check all these attributes
6] check dependencies for these attributes
Preferred primary Unix GID workflow

- create new methods
 - checkListOfGIDIsWithinRange in ModulesUtilsBl

- new modules:
 - U:D:preferredUnixGroupName_namespace
 - UF:V:defaultUnixGID
 - UF:D:basicDefaultGID - used in UF:V:defaultUnixGID getAttributeValue
   method
 - UF:V:preferredUnixGroupName

- changes in modules:
 - UF:D:defaultUnixGID - use now for predefine specific unix GID on
   specific Facility

- create test for:
 - module UF:V:defaultUnixGID
 - module UF:D:basicDefaultGID

----------------------------------------------------------
NEED TO DO AFTER MERGE THIS COMMIT:

 1] CREATE NEW ATTR_DEFs:
  - UF:def:basicDefaultGID (R: anyone, W: FACILITY)
  - U:def:preferredUnixGroupName-namespace:*
   (*=cerit,egi-ui,einfra,sitola,storage) (R: anyone, W: SELF)
  - UF:virt:defaultUnixGID (R: anyone, W: FACILITY)
  - UF:virt:preferredUnixGroupName (R: anyone, W:SELF)

 2] COPY value in DB
  - from def:defaultUnixGID (user_facility_attrs) to
   def:basicDefaultGID
  - use this sql:
   "insert into user_facility_attr_values
   (user_id, facility_id, attr_id, attr_value, created_at,
   created_by, modified_at, modified_by, status, attr_value_text,
   created_by_uid, modified_by_uid)
   select user_id, facility_id, X as attr_id, attr_value,
   created_at, created_by, modified_at, modified_by, status,
   attr_value_text, created_by_uid, modified_by_uid
   from user_facility_attr_values
   where attr_id=Y"
    - where X = id of UF:def:basicDefaultGID attr,
     and Y = id of UF:def:defaultUnixGID attr

  3] REMOVE attr value in DB
   - for attr UF:def:defaultUnixGID by sql:
    "delete from user_facility_attr_values where attr_id=X"
     - where X = id of UF:def:defaultUnixGID attr

  4] INCREASE DB-version

  5] ADD THESE info to the changelog and dbchangelog
Preferred primary Unix GID workflow - services

Change UF:D:defaultUnixGID to UF:V:defaultUnixGID
Merge: Preferred primary Unix GID workflow
WUI: initial wui commit (work in progress)
WUI: fixes
WUI: added empty gwt project for perun-wui-cabinet

- Added base config files for new wui webapp for cabinet.
- Added images and js sources.
- Added empty entry point class.
- Added Perun's colorful logo.
WUI: support for GWT's super dev mode

- support super dev mode of GWT
- any script loading in gwt.xml must be placed in code
  into method onModuleLoad() and loaded by ScriptInjector
WUI: new way of loading CSS

- Do not insert CSS in HTML page but use new class
  PerunWuiCss which extends ClientBundle. This will make sure,
  CSS is part of native clean.css file bundled with GUI.
- Load CSS in each module like: PerunWuiCss.INSTNACE.css().ensureInjected();

- Next future stage should be associating CSS directly with widgets, so it's
  loaded everytime widget is used and not manully in onModuleLoad().
WUI: imported changes from main GUI
WUI: support for devel and production profiles

- Each WUI application now has two modules (profiles in maven)
- Production module is base in gwt.xml means but must be set
  in maven as -Pproduction profile.
- Devel module extends production and sets some debug config
  but is default in maven builds.
- Added PerunWebGui.properties for production

Note: on some IDEs for WUI devel builds you must exclude production
resources folder to get devel like configuration. Maven itself
works correctly.

- Fixed bad class usage in RichResource bean definition.
WUI: support for multiple authz

- Added new html pages with authz definition property, so
  Apache can enforce proper way of authorization and WUI
  knows URL, where to search for Perun instance.
WUI: proper implementation of more Perun objects

- Unified implementation of overlay objects for more Perun beans.
- Fixed cell content rendering.
WUI: beans source format, added AuditMessage bean
WUI: Added more Beans and original sources for Cabinet beans

- Added model classes for ExtSource and UserExtSource.
- Added model classes for Cabinet objects (not converted to new style yet).
WUI: finished cabinet objects definition

- Added getNativePropertyDouble() method to JsUtils.
- Support for PublicationSystem in getName() of GeneralObject.
- Finished implementation of all perun-cabinet beans.
WUI: start migration to Bootstrap3