Make checks work with older Docker version

ApiVersion isn't available on older Docker versions. Beside that, 0.3.1 doesn't support 0.10 api commands, so I've changed that check as well.