Revert "Merge pull request #181 from ffainelli/master"

Reverting due to reported failures (see #189).

This reverts commit 617cbf5b2348ade5afe8cf9ab657f6eb865fa3dc, reversing
changes made to eb8dad53172ab753aee4f4bf02d0f141b9144d08.
Refactor and rewrite.

Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
rewrite: add mDNS registration
fix potential deadlock while shutting down
audio: output selection functionality
main: add option parsing
ao: add option parsing
cleanups
TODO updates

lots knocked off the list!
Add copyright notices.
usage: default buffer_start_fill was wrong
usage: usage of default buffer_start_fill was wrong
mdns: NULL-terminate argv lists
player: avoid leaking memory
generate hw_addr from apname
readability cleanup
ao: shutdown properly
Makefile: configure for libraries properly
ao: actually use the options we collect
rename arguments for compatibility with old version