Adapt to new Kimchi authorization scheme

Recently Kimchi upstream changes the authorization scheme.
"tools.kimchiauth" does not verify admin_methods anymore. The validation
is moved to controller base class. So downstream should also change
accordingly.

Author: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>
Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>
Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Updated .gitignore to Address Generated Files

Added several generated file/directory names.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Fix pyflakes and pep 8 errors

In ginger.py, "Collection" is imported but not used.
In models/firmware.py, only 1 blank line is added before
"class FirmwareModel".
In models/powermanagement.py, the argument name is "profile", but later
"powerprofile" is used.

This patch fixes these problems. When submitting new patches, authors
are encouraged to run "make check-local" in advance.

Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>
Add sensors backend functionality

This patchset adds the backend functionality to retrieve sensor
information and hard drive temperatures.

v1:
- Didn't yet deal with buggy sensors command
    (e.g. converting non-value 0's to 32F)

v2:
- Now doing conversions to F in ginger, as
    opposed to passing the -f flag to sensors
- Reordered import statements to be alphabetical
    and fixed others in the process
- Changed to using an OrderedDict to return items
    so that the UI could more quickly parse the
    sensors (since this will be polled frequently).
- Added a "fallback" max temperature when '0' was
    returned as the max for a temp. That way the UI
    will not have to figure that out, and not break
    if a dial-type dashboard widget is created based
    on these values. The fallback max is 100 C.
- Added an update method for configuring the temp
    output. Now a user can set 'F' or 'C'.
- Added API documentation

v3:
- Moved try/catch logic into parse for loops
- Added function bullet in README
- Updated ginger spec file

v4:
- Added a 'unit' value to ginger.conf to use instead
    of UPDATE, so that the unit doesn't change frequently.
- Removed UPDATE
- Restructured the lookup() call to make it more readable.
    - Added explanations and examples
    - Moved the conversion logic outside of parsing.

v5:
- Remove 'PUT' from admin methods.

v6:
- Replace dicts of dicts with dict of list of sensors
- Improvements in convert_units() logic
- Remove update params in sensor control
    Thanks to Zhou Zheng Sheng for the suggestions.

v7:
- pep8 tweaks
- Include 'unit' in each device instead of having
    only a global temperature unit.
- Have the sensors model inherit from object.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
'tuned' troubleshot information in README file

Added information and tips about some problems that might
occur with 'tuned' and how to solve them.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
UI: Host sensors data visualization

This patch support the UI of Host sensors

Signed-off-by: Wen Wang<wenwang@linux.vnet.ibm.com>
IBM Serviceable Event Provider (SEP): Update configuration files

Add API.json parameters to update, update docs/API.md with REST API
information and add basic support on ginger.py and ginger.conf files.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
IBM Serviceable Event Provider (SEP): Backend support

Add IBM Sep functionalities to backend.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
IBM Serviceable Event Provider (SEP): Update build files

Update Makefiles and SPEC files.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
UI: SEP(ESA) initial setup

From: Paulo Vital <pvital@linux.vnet.ibm.com>

V2 -> V3:
 * Roolback to V1 implementation to follow V6 of the back-end.
 * Rebase

v1 -> v2:
According to back-end GET API has changed, changing the UI for the
latest back-end code.
Move subscribe part to a dialogue

This patch support the SEP initial setup function
Function are described as follows:
1.Subscribe data when data in the form are complete and activate SEP
 function
2.Unsubscribe clears user's information and set the status to Disabled
3.If there is already subscription in server, change "Subscribe" button to
"Update"

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>