Allow creation of databases

 * remove unused stubApps,stubDatabases test helpers
 * Small fixes around the SHOW pages of databases and apps
 * DRY duplicated buildURL for app and database adapters
 * Refactor to DRY stubbing api requests a little more