Phantomas
Add phantomas to setup and fix typo
Support Phantomas per metrics

In order to properly run get_fact_definitions, use a list of
metrics defined in phantomas_info.py, which should be updated
whenever a new Phantomas version is released.
Work with local installation of Phantomas

As defined in "setup" in the Makefile, Phantomas is installed as a
local Node.js module. `npm bin´ outputs the "bin" directory path.
Use check_output instead of Popen

As it is necessary to wait until the Popen call finishes, use
check_update instead which already returns the command output as
string. This makes the code simpler.

While testing, check_output_mock needs to return two different
values depending on the arguments. A side_effect function was
defined (check_output_mock_side_effect) to do just that.

Some variables were renamed to a more significant name.
Move dir ignoring to where it belongs
Adapt testcases to changes in Reviewer
Update phantomas version to v0.12.0