fix overwrites EXPOSE
add regression test from @crosbymichael
Merge pull request #1236 from dotcloud/1234_overwrites_expose-fix

*Builder: fix overwrites EXPOSE