WL-164 added the access role

fixed the bug if Unpurchased items are still  in the when the enrollment period has closed

WL-164 added the unit tests

added the jasmine tests and some fixes

updated the quality issues