Refactoring y adicion de consulta

Creacion de pantalla de consulta (in progress), refactoring de angular
app controller, refactoring de masterpage.