Adds support for 'restart_policy'

Adds support for Docker's 'restart_policy' that was introduced in 1.2.

Tested on 1.8.2.