fix argument parsing for register_package_resource
fix installation of marker file

previously it was making a directory with the
package name and then placing a maker file with
the package's name in that folder.
ignore .pyc files