Added Profile Service definitions

Removed spaces and added profile service tests.
Further profile service definitions and tests
Added missing browser properties to test.
Fixed definition signatures to pass npm test
Merge pull request #2245 from pjmagee/master

More tests and definitions added for profile service