Fix for openrc download on Firefox if the project contains blanks

When downloading the openrc file or the ec2 credentials file on
horizon of a tenant that contains blanks, on firefox the filename
gets truncated up to the first space.

Change-Id: I08bc5f2f8d28584423e3f6eb6a781ab0384aa4d5
Fixes: bug 1215923
Small cleanup in "test_data"

This patch set replaces a few method imports with
module imports in "openstack_dashboard/test/test_data".

Fixes bug 1215996

Change-Id: I3268d61044f31e7adca5ae752b4768df0e7fbbec
Merge "Small cleanup in "test_data""