Improve detection of changes when pull or build an image

There is something that trouble me in this PR
if I return from a state
```python
changes = {name: False}
```
The state that watch for it, is still triggered by mod_watch...

I didn't found the answer reading the doc
http://docs.saltstack.com/ref/states/ordering.html
I'll be glad to improve that part before merging