Thousands of mourners camped overnight to pay their final respects to the Queen in Edinburgh as well-wishers from across Scotland bid a final farewell to Britain's longest reigning monarch.