New method addDestinationsDefinedByHostsOnFacility

- Add new method addDestinationsDefinedByHostsOnFacility to ServiceManager in Core
- Add this method also to ServiceManagerMethod in RPC
- Add test for this method
Attr. modules: unixGroupName can work without GID

Addition to commit 678b82f74ff0b7124da622243fea48bd226ef762 (Now you can
set unixGroupName without unixGID if unixGIDNamespace isn't set on
facility.) which works only for resource's attributes. This one work for
group's attributes too.
Merge pull request #63 from licehammer/unixGroupsWithoutGID

Attr. modules: unixGroupName can work without GID
GUI: do not display regex textbox if using internal

 - on app form item configuration page, if custom regular
 expression is never used, then do not allow to enter one
Merge pull request #64 from zlamalp/form

GUI: do not display regex textbox if using internal
GUI: initial support for ServicesPackage

 - added object definition and necesary RPC calls
 - ServicesPackages can be created, deleted, updated
 and their services can be assigned/removed.
Merge pull request #65 from zlamalp/pack

GUI: initial support for ServicesPackage
GUI: added support for CHECKBOX widget on app form

 - allow to create CHECKBOX app form item type
 - value from checkbox widget is list of selected items 'values'
 - value can't be pre-filled yet
 - if item required, user must check at least one checkbox
 - fixed display of regex input form for mail
REGISTRAR: fixed null pointer

 - fixed null pointer when getting application by ID
 throw exception instead to display message to user in GUI
Merge pull request #67 from zlamalp/checkbox

Checkbox support
GUI: fixed checkbox widget for app form

 - split selected values by "|"
 - pre-fill item (split by "|" and if value matches, set selected)
Merge pull request #69 from zlamalp/checkbox

GUI: fixed checkbox widget for app form
GUI: initial support for resource tags

 - added object definition
 - resource tags of VO can be created/updated/deleted
 - Vo manager -> advanced -> Resource tags
 - small fixes on resources
 - added assign/remove calls
 - added Tags sub-tab on resources detail
 - added AssignTag tab
 - fixed button translations
 - added filtering by name and tag to all resources tables
 - added sorting support for ResourceTag
CORE,BEANS: RichResource now contains ResourcesTags

 - added list of ResourceTags as RichResource parameter
 - all methods for getting rich resource also fills resources tags

 - created inner RichResourceExtractor class which can select
 rich resource with all resource tags assigned by one SQL query
 - usage of JdbcTemplate instead of SimpleJdbcTemplate in order to
 use RichResourceExtractor class instead of RowMapper
 also: SimpleJdbcTemplate is deprecated in Spring now
 - added method to fill tags in RichResource one by one (used
 by RichResourceExtractor)
 - updated toString() a serializeToString() in RichResource

GUI: fixed filetring of resources based on tag

 - search field display tags as "name (tag)"
 in order to keep them sorted alphabetically

AUDIT PARSER: fixed reading of RichResource from log

 - read also resourceTags property of RichResource
 - added to test of RichResource
CORE: fixed getting RichResourceById

 - fixed consistency error case in getRichResourceById
 - use static variable for RowExtractor instead of new instance everytime
Merge pull request #62 from zlamalp/tags

Tags support
 - Tags can be part of RichResource to display them in GUI
 - Tags can be created/deleted/assigned/removed
 - Groups can be assigned to resources filtered by tags
RTMessageManager new way of sending message to RT

- not using Authentificator now
- use POST method
- information in Content
- add apache.http libraries to core (inspiration in publications pom.xml)
- authentication is performed for every call separate
Merge pull request #70 from stavamichal/RT_core_new_message_sender

RTMessageManager new way of sending message to RT
Facility manager can delete resource from his facility

- VoAdmin and FacilityAdmin can both remove own resources
Merge pull request #71 from stavamichal/FacilityManagerCanDeleteResource

Facility manager can delete resource from his facility