Moved pidfile and logfile into .monitrc and added extraSubstitutions for .monitrc file