Fix possible infinite loop in ProcInterface::heapAddress

We have to check for error after fgets().
Merge pull request #18 from xhaakon/core-reducer-100%-cpu

Fix possible infinite loop in ProcInterface::heapAddress
Fix $core_exe of deleted executables

Kernel appends '(deleted)' to the /proc/<pid>/exe symlink target, we
have to cut it off.