Add realtime-store as optional dependency

Change-Id: I9479d52e349ad4f1b3a27e6b5ad9044df8b168c1