Fixed local.sh to be able to generate the dburl correctly

Devstack has been refactored so that the function to generate the
db_url no longer takes a local variable to output to, but echoes the
url directly. local.sh has been updated for this.
Fixes bug: 1155432

Change-Id: Ic55889af7d16727a11ea7c3332f15553d89c92fd