Fixes #48: API operation paths are not sorted
Merged #48 and updated tests to reflect changes.

This provides sorting of the resources and addresses the tests to
accurately ensure coverage.
Merge branch 'pv-48'

Conflicts:
	library/Swagger/Swagger.php