Adds functionality to complete selection on space key

This pull request adds the option to complete the selection on pressing space key.

Example:

       $(selector).textcomplete(
           [strategy1,strategy2]
           {
             completeOnSpace : true
           }
        )