Makefile.am: compile libffmpeg.a with FFMPEG_CFLAGS
lib/nfs/Base: kludge to reduce number of NFS mounts

Creating a NfsStorage sets its own export_name as the "base".  Now
NfsFileReader can use this information to derive the export_name to be
mounted, instead of guessing.  This solves the "too many connection"
problem on the NFS server while updating the database.
lib/nfs/Connection: make GetEventLoop() public
Makefile.am: add libnfs and libsmbclient to STORAGE_LIBS
test/run_storage: new debug program
lib/nfs/Connection: add method Stat(path)
lib/nfs/Connection: add methods {Open,Read,Close}Directory()
storage/nfs: move code to Copy()
storage/nfs: move code to class MemoryStorageDirectoryReader

Read all directory entries into memory and close the struct nfsdir
before returning the StorageDirectoryReader instance.  This is what
libnfs does, anyway.
test/run_input, ...: add struct ScopeIOThread

Auto-stop the IO thread in all error handlers.
StoragePlugin: pass EventLoop to constructor
lib/nfs/Glue: add assertion
lib/nfs/Connection: reduce Error instance allocations
Merge remote-tracking branch 'upstream/master'