Adds resource limitations for tasks
Add support for adding egg-info files to packages archive.

In order for packages that make use of entry points to work on Hadoop
node, the relevant egg-info directories also need to be copied to those
nodes. This change performs a simple check to see if a related egg-info
is present for a requested package, and adds those files as well.
Changes resource example
Treats empty package.__path__ like it's missing
Add test data for creating package archives with egg-info.
Merge pull request #453 from Houzz/ignore_empty_package_path

Treats empty package.__path__ like it's missing
_hdfs_test: 2.6 backport for assertRegexpMatches
Fix deprecation warning

We should use raise_if_exists over fail_if_exists. I guess my clever and
tricky `deprecate_kwarg` method is a bit too meta. :)
_hdfs_test: Fix failing test case

I think this started to fail since the changes I introduced in
spotify/luigi#393.
hdfs: Use logger rather than print statements

I tested this by running the following on a hdfs-configured machine:

    import luigi.hdfs
    import luigi.interface

    luigi.interface.setup_interface_logging()

    pipe = luigi.hdfs.HdfsAtomicWritePipe('my_file')
    pipe.writeLine('Hello')
    pipe.abort()
    pipe.writeLine('world')
    pipe.close()
hdfs: Add unix username to /tmp paths

The idea is that we would rather see paths like

        /tmp/<username>/blah/luigi-tempfile-1234

over just

        /tmp/blah/luigi-tempfile-1234

The (very) common issue that Spotify is experiencing is that users first
run their job as their own user to test their luigi job, then they use
the production user. The production user will then fail to run, because
the owner of the file will be the interactive user and not the
production user. It's a serious waste of time to chowning folders all
the time and encountering quite unnecessary permission errors.
Merge pull request #457 from Tarrasch/use-logger-not-print

hdfs: Use logger rather than print statements
Merge pull request #445 from Houzz/resources

Allows specification of resource limitations for tasks
Fixes resource tracking bug in scheduler
Merge pull request #458 from Houzz/update_resources

Fixes resource tracking bug in scheduler
More robust exists for hive.

Instead of trying to scrape the output for a "table not found" we can just look at the database and see if the table exists by querying for all the tables with the exact name.
Merge pull request #454 from edx/edx/brianhw/include-egginfo-in-packages

Edx/brianhw/include egginfo in packages
Merge pull request #456 from Tarrasch/fix-_hdfs_test

Fix hdfs tests
Merge pull request #455 from Tarrasch/tmp-paths-with-username

Hdfs /tmp paths with username
v1.0.19