Github #329: Proxy module and template file

The file src/kimchi/proxy.py is a module that contains all Nginx
related functions - start proxy, terminate proxy and create
proxy config.

src/nginx.conf.in is a template file that is used by the proxy
module to generate a customized proxy configuration.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Github #329: Kimchid, config.py.in and server.py changes

Two new config options were added in config.py.in - proxy_port
and proxy_ssl_port - to allow more control in the ports that
the proxy will bind. The defaults proxy ports are 8000 and
8001 (ssl) and default kimchid port is 8010. The default proxy
ports were chosen to avoid editing the existing firewall
configuration (now that nginx is process being exposed).

Kimchid creates the proxy configuration according to user-defined
parameters.

server.py registers the terminate_proxy() method to a cherrypy
engine that fires when the server is shut down. The SSL logic
was moved to the proxy module at src/kimchi/proxy.py.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Github #329: changes in mockmodel, model/config and tests

Changed mockmodel and model/config.py to point to the proxy
port instead of the kimchid port, which is not exposed
anymore.

tests/utils was changed to launch a proxy instance
for each run_server call.

tests/test_rest.py changed to reflect the changes in model
and mockmodel.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Github #329: .gitignore, spec, control.in and readme

- Added src/nginx.conf.in to Fedora and SUSE spec files and nginx
as dependency.
- Added src/nginx.conf.in to Makefile.am.
- Added nginx to contrib/DEBIAN/control.in as a dependency.
- Added nginx to README.md instructions.
- Added src/nginx_kimchi.conf to .gitignore. This file is a product
of the nginx.config.in template tha was used for the last (or
current) kimchid/nginx run. As such, there is no need to put
this file in version control.
- Makefile.am: added nginx.conf.in to dist_conf_DATA and added
src/kimchid.in and src/kimchi/proxy.py in pep8 whitelist.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>

fix patch 4 Makefile.am add whitelist

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>