Add database support to bare-precise slaves

Change-Id: Iec1d268cef42dc482b7861603a17b12ad40e950e
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>