Convert project / user to project_id / user_id

Change-Id: Iad532e7d1d32dc5a5e9553a65e6f6a711793b018
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Filter by project_id for domains and subscribers

This will fix users being able to see other projects information.

Change-Id: I11aa5fa08cabc53672c55d2f4714730c985987ea
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Use test_migrations from OpenStack

Since we already import test_migrations from oslo, we might as well use their
version (less code for us to maintain).

Change-Id: I92d1b29aaa036d9112f79fcc17195bc71dfef476
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Use real data for migration 003

Change-Id: Ica0e581a700d433f9c82af94d931647a7edb6b64
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reference domain_id for subscribers

Create a ForeignKeyConstraint for domains and subscribers.

Change-Id: I5546491cc60827545cead6608cbf0b0011130cb6
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Initial quota support

Today we add the base for Quota support, right now we simply return the
defaults when asked.

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