add select callback

Remove selectedObject property, and add onSelect property on angucomplete directive $scope.
This makes it more extensible