Moved classes into detai.

Moved sync_priority_queue and scheduled_executor_base into detail.
Since scheduled_executor_base is an abstract class this makes sense.
sync_priority_queue will be moved here until all of the necessary methods
are added for it to be moved out of detail.