US markets posted solid gains on Thursday as investors cheered strong earnings from technology companies; Fewer Americans file for unemployment benefits