Fix rcu_protected bugfixes and add test case (PLAT-555)

This fixes edge cases in the assignment of RcuProtected contexts and adds a test case.

Note that there is still a major bug, which can be exercised by removing the extra
explicit guards from the test.
added missing test file
Merge pull request #92 from datacratic/PLAT-555-rcu_protected-bugfixes

Plat 555 rcu protected bugfixes