Allow session to be passed in directly

Added statement to "getStore" to check if the passed in variable is a reference to session itself or a reference to connect/express in order to support changes within Express 4.0