Bug 837267 - [Browser] adding a period to the url search will return Obj...

...ect error

Based on a robust URL validation expression by Diego Perini, execute more specific checks on the input before proceeding as either a search term or a URL.

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>