Bugfix: Fix problem with Rails engine detection
Feature: Make sure that the PID and cache files are removed on update