A memorable strike from substitute Albert Adomah set Bristol City on their way to 2-0 win over Middlesbrough.