feat(selectors): Parsing selector strings.

Uses many small regular expressions and function calls to determine
which `by` selector to choose. It also does this for any `element` or
`element.all` functions to attach to the selector.

It also returns the selector string that was passed into the function.