only syncdb when the db migrate attribute is true

reuse the default node and runner for chef_run_session_sql so we can set
attributes on the node object

Change-Id: I1789e58c63d61f6f3f0f4f5aab4cfa20e77e80ff
Merge "only syncdb when the db migrate attribute is true"