add check for changed message dependencies changed

This will address #41.

@esteve @tfoote @wjwwood Please review.