Squashed commit of the following:

commit 701ddcce03f17bb3a5fcc2301c2e62a0a518c236
Author: Peter Shaw <unthoughted@googlemail.com>
Date:   Thu Oct 17 15:36:31 2013 +0200

    correct ip and log referer

commit 1c26abf4e2235ef82fc1ffa521089a697c6b87ee
Author: Peter Shaw <unthoughted@googlemail.com>
Date:   Thu Oct 17 15:07:07 2013 +0200

    prepare for the 0.0.4