RANGER-192:Fixed spinning wheel in user detail page when there are many groups

Signed-off-by: sneethiraj <sneethir@apache.org>
RANGER-188:Added LSB headers to Ranger Admin/Usersync init.d scripts

Signed-off-by: sneethiraj <sneethir@apache.org>
ARGUS-140 Fix some of the FindBugs problems.  (See full comments for details)

Following Problems of the class "FindBugs:Bad Practice" were fixed.  Problem text and comment about the fix are as follows:

1) Invoking System.exit shuts down the entire Java virtual machine.
- Some cases it is possible to achieve what we want achieved by setting
an existing loop control variable.
- In other cases runtime exception is thrown.

2) In com.xasecure.authorization.hive.XaHiveObjectAccessInfo.equals(java.lang.Object):
This class overrides equals(Object), but does not overridehashCode(),
and inherits the implementation of hashCode() from java.lang.Object
(which returns the identity hash code, an arbitrary value assigned to
the object by the VM).
- Added appropriate hashCode() method.
- Corresponding change equals() method to all variables are accounted
for.
- Added equals (and hence hashCode) methods to XaHiveAccessContext.

3) Return value of some system calls is ignored with potential loss of
useful diagnostic information.  Following classes were changed due to
this:
- MiscUtils
- HDFSFileAppender
- LocalFileLogBuffer
- PolicyRefresher

4) Invoking System.exit shuts down the entire Java virtual machine. This
should only been done when it is appropriate.  This lead to changes to
following classes
- XmlConfigChanger
- Crypt

5) Removed warnings for all of these files: either unused variable or
unused import.