Cleanup with Resharper and added an interface for the DomainService class.
Update NuSpec details to match current situation
Fix signing by checking return type from PEM reader
Clean up usings.