upgrade db1007 to trusty and mariadb 10

Change-Id: I9205f382c8ce52831e5c6913dcf374a7fa1ee661