Use require.resolve() instead of manual search for protractor .bin dir

The manual search for the protractor dir was unnecessary,