upgrade db1049 to trusty and mariadb 10

Change-Id: I24dfad43d674c246fa1d033108fd7734136aab33