Added closeOnSelect attribute
merge from upstream/master
Merge pull request #362 from TravisTX/feat-closeOnSelect

Added closeOnSelect attribute
Make $select.multiple definition more readable.
Support `multiple="multiple"` attribute.

Some html preprocessors will transform

<ui-select multiple></ui-select>

into

<ui-select multiple="multiple"></ui-select>

which is currently not supported by angular-ui-select. This patch fixes the
issue.