Test coverage for pulsar.daemon's detection of Pulsar configuration.
Remove seemingly unused code in pulsar.daemon.
Reuse pulsar.daemon's logic for loading Pulsar config in pulsar.scripts.chown_working_directory.

Reduces duplication and places more logic where it can be tested more easily.
Don't set staging_directory in server.ini.sample by default.

Just use the same default throughout the app.
Docfix.
Refactor so all application logic is loaded (though different ways) from on function...

...regardless is being loaded from the command line or from a WSGI server.
Fix handling of option persistence_directory in server.ini.

The documentation state that this could be unset to disable persistence - this is not the case. Added a new way to do this (by setting it to __none__) and updated documentation in sample file. Also commented it out in the sample file.
Allow loading Pulsar application information from a YAML config file.

This is for values such as staging_directory, persistence_directory, etc.... Anything from app:main except for paste.app_factory.

Can specify the location in server.ini as app_config, otherwise is there is a file called app.yml deployed next to server.ini (or whatever .ini) this will be used.
Don't create server.ini if it doesn't exist, just use server.ini.sample directly.