Fix EZP-21848: Allow composer updates of Legacy Stack not to delete an installed legacy site

Replaces and closes #7 

Tested with several install / updates.

Follow up: 
* Allow easier update when not using releases (e.g. dev-master), see #9 .
* Remove `.git` directory when switching to a release.
* Use new Composer plugin API (see #6)