Add active-android support, add query history

PR to add ActiveAndroid models, use for query. Add History for queries activity.