255: Selenium Tests for Initial Post of Shared Writing

BRIX-255:
This commit includes eSelenium Tests for the Item UI(Student) Initial
Post of Shared Writing255: Selenium Tests for Initial Post of Shared
Writing
319: Commented out the code to show the non-functional presenter toggle link because PM has decided they don't want to see it after all

Jira: BRIX-319
319 : Made target values strings again.

Jira: BRIX-319
319 : Added demo page that reproduces Safari crash

Jira: BRIX-319
359: various improvements to localdiscussionman, localanswerman and sharedwriting templates

- getPosts sorts returned posts by descending updatedAt field
- localanswerman uses authorId in answers if it exists

- added a sharedwriting conversation template w/ 2 sharedwritingquestions submitting to the same topicId.

Jira: BRIX-359
Merge pull request #137 in BRIX/brixclient from BRIX-255-SharedWritingTests to master

# By Tejal Naresh Shah
# Via Tejal Naresh Shah
* commit '9592d03dbe4618684f655ef6d9af9a7148c0a84e':
  255: Selenium Tests for Initial Post of Shared Writing
364: support new AMS scoringAPI by sending more header info to IPS

- sending authToken as opaque
- updates to match current Core envs and settings
- updating amc.js

Jira: BRIX-364
fix annotations for jsdoc

WARNING: The @private tag does not permit a value; the value will be ignored.
tweak the journal instance id in the template to be better suited to a template value
359: get addComments code cleaned up somewhat in submitmanager, localdiscussionman and IDiscussionMan

This was just to get the type signatures of the various methods matching and clean up reported warnings

Jira: BRIX-359
359: Add an IpsDiscussionMan

- `Ipc` creates one and passes it to the `SubmitManager`
- added functionality (methods) in the `IpsProxy` for the `IpsDiscussionMan` to use.
- couple of simple unit tests of IpsProxy.retrieveDiscussionPosts as a spot check

Jira: BRIX-359
319: workaround Safari crash issue

The issue seems to be caused by the fieldset element when there is an svg element descendent.

- Replaced fieldset and legend with div elements in all brix using fieldset (and made relevant CSS changes)
- Fixed unit tests that broke due to earlier fieldset/legend changes

Jira: BRIX-319
319: adjust spacing of attempts when horizontal width decreases

CSS change to keep attempts span from being too close to buttons when screen width is narrow (e.g. mobile)

Jira: BRIX-319
319: fix attaching FastClick to mvplabeldraganddrop child sketch brix

- Hod to add FastClick explicitly to each sketch since using d3 each() does not seem to attach to the second sketch

Jira: BRIX-319
319: Minor change to multivalue feedback

- had forgotten to substitute some strings with a variable

Jira: BRIX-319
update comment in testpage boilerplate code

This makes it clear why we override the AMC's callerContext bookCategory value and what the affect is in the various environments (it determines which PAF environment is used).
359: more addComment functionality in the LocalDiscussionMan

Jira: BRIX-359
319: small tweaks to MultiValueQuestion

- removed maxAttempts from multivaluequestion since it is already defined in question
- minor optimization to redrawFeedback_()

Jira: BRIX-319
359: ips-proxy some unit tests for retrieveDiscussionPosts

Jira: BRIX-359
359: fix SubmitManager.handleAddTopicCommentRequest_ referencing wrong properties

Jira: BRIX-359