Parse repeat attribute

- Allows to specify something else than "item" inside the repeat expression
- Allows to specify a promise inside the repeat expression
- Move out ui-select controller from the directive
- Various fixes and refactoring