Moved the test to the tests directory.
Added possible characters to path specifications ('-', '.').
Added an exception when no rule has been found for the global targets.
Changed some function names according to their semantic and returns
the action list in the right order.
Renamed a function to avoid ambiguity.
Added some support for repository/packages.