Move constants for better reuse
Merge pull request #1274 from markewallace/LibraryGenerateJavaScript

Library javascript generation
Fix compile error
Merge pull request #1275 from markewallace/FixCompileError

Fix compile error
disabled failure test with firefox
added current user to test as sample.id 
works for SC ids transparently
added current user to test as sample.id 
works for SC ids transparently
added display name handling for VCard tests
added current user to test as sample.id 
works for SC ids transparently
fixed raced condition on test output
the test could have picked data after the first population of the json
div, resulting in reading only partial results.