fix(mk,service,tpl): add 'Compression' option
docs(installation): rename file to uppercase
feat(install-infra): do an apt-get update before installing
docs(installation): fix install instruction and link to INSTALLATION.md
fix(installation): remove WEBAPP directory before update
fix(deploy-service): change owner and group on /etc/mast

set to mast:www-data
fix(mk,check-privileges): enfore owner and group on log files and /etc/mast
fix(persmission): remove permissions for 'others' and ensure for user/group
fix(mk,apache): add ServerName to Apache config

fixes #42
fix(mk,check-privileges): chown/chgrp AFTER user is created
feat(mk,install-infra): condition apt-get update run

Only if last run is older than a day
refactor(mk): add global var for web server user WEB_SERVER
fix(add-channel): solve permissions issues (log files, config)

We can't chown from www-data to mast due to the way permissions work. Also
can't preserve permissions so I stop attempting to change ownership.
* create a 'mast' system group ;
* append 'mast' user to 'www-data' ;
* check-in group user to active permissions

fixes #28
Merge github.com:edouard-lopez/mast into dev
fix(add-channel): allow space in host's name

#32
fix(remove-channel): add 'Compression' variable to config dump
refactor(directory,mk): create PID and lock directories during install

Otherwise webapp won't have enough permissions to access them
fix(service): solve pid files permissions by detecting who run script

If service is run as 'root' then we run mast process as '$localUser' user
so the 'www-data' user can start/stop it. Otherwise we run as 'www-data' user.

fixes #43
refactor(service): make MAX_LATENCY global
refactor(service): create 'kill_and_clean()' function