Remove all (3) raw SQL statements

This will allow Django to generate the SQL statements, so there aren't any backend issues. I was playing with adding ``subpage_types`` to a ``Page`` subclass, and was getting errors because the SQL wasn't compatible with sqlite.