Add 'rm' attribute to image resource.

Adding attribute to remove intermediate containers after a successful build. This makes things cleaner.