Deal with Sphinx import ordering.

Change-Id: I94183c5547e07aa2c13c562bd1975442c08f99bd
Move sphinx to test-reuqirements.

Change-Id: I15ffeec34cdf9be24ffade5701b8e723aaaa171c