[PATCH] fix compilation with mimetic 0.9.7

 From Enrico Tassi <gares@fettunta.org>
  Removed reference to "Do this properly".

  There is now an issue to track progress in full message-viewing,
 which is issue #29.
  Simpler date-format display on the index
  Added tests for CFile::move
  Test that the CFile::copy results in size/mode preservation.
  Minor formatting fixups.

  We should make things consistent.
Remove unuse varibale `index` from CLua::table_to_array
  Reset the lua-stack to avoid corruption (??)

  Not sure why this is occurring.

  Updates issue #31.
  Correctly cleanup the stack in table_to_array.

  This fixes #31, or closes #31.

  The issue is we leaked two stack-entries every run, and now
 we clean them up.  Popping two items off the stack was better
 than just blindly resetting things.
  Added dump_stack() method for debugging.

  This is just a trivial helper, and shouldn't be used unless debugging.
  Neaten the stack-dumping code.

  Which is now only enabled for debug-builds.
  CFile::move() is now implemented without system().

  This updates issue #28.
  Compile with -std=gnu++0x.

  This allows our file-copy implementation to compile.
  Updated so that CFile::copy() succeeds.

  This now means that we have portable C++ file operations.

  Reference:
http://stackoverflow.com/questions/10195343/copy-a-file-in-an-sane-safe-and-efficient-way

  Fixes #28.  Closes #28.
  Log file copy/move operations.
  Log to the user's home-directory.

  Also separate the date + message with a space.  D'oh.
  New command-line flag --debug.

  If a debug-build is present this will allow the logfile to
 be specified.  Otherwise default to the ~/lumail.log file.
  Re-order options alphabetically.  Abort on unknown arg.

  Previously we'd just echo a message about unknown messages
 which would then be replaced.
  Exit with 1 when invalid options are passed.
  Point to the binary packages.