Added memory usage monitoring

- Max mem usage of server and PhantomJS script are added to the CSV file
- Also added "end"-timestamp to CSV file