Bookmarks: Check if url is valid

@karlitschek @Raydiation