Use first server name for non-www redirects to prevent issues with naming of vhosts within defined types.

Signed-off-by: Kalman Olah <kalman@inuits.eu>
allows setting client_body/header_timeout on vhosts
allow setting gzip_types to vhosts
Merge pull request #362 from eholzbach/master

allows setting client_body/header_timeout and gzip_types on vhosts
Merge pull request #310 from kalmanolah/rewrite_non_www

Use first server name for non-www redirects to prevent issues with naming of vhosts within defined types.
new raw_prepend / raw_append feature for vhosts & locations
  - added raw_prepend / raw_append to vhosts & locations, which
    adds raw lines to the vhost/location /without/ semicolons
  - added location_raw_prepend / location_raw_append to vhost
    for passing through to default location
  - added spec tests for new parameters
  - cleaned up location specs to match new header/body/footer setup
    reducing duplicate checks by testing header/footer separately.
  - cleaned up whitespace (2 space) in touched files
  - used `<%-` in erb templates to allow the use of leading
    whitespace, making the logic flow more readable
  - Also adds spec tests for recent vhost updates:
    - client_body_timeout
    - client_header_timeout
    - gzip_types
    - testing that the first server_name is used when www_to_non_www is true
Merge pull request #365 from rabbitt/feature/raw_prepend_and_append

new raw_prepend / raw_append feature for vhosts & locations
Merge branch 'master' of https://github.com/jfryman/puppet-nginx