Install Modulefile in build tree.

Also, test for the install task has been slightly improved.