Change __getattr__ behaviour for APIModel so that it correctly throws
errors for queries on non-existent keys.