Added @path annontation to perform path mapping.

@included Issue#1094, Issue#451

* Made changes in perform.rb to visit path directives
to map files.
* Made changes in import.rb to replace the mapped file.