Housing Market Bubbles and Business Cycles in an Agent-Based Credit Economy