Secure, domain & path parameters for var functions

You can now pass new (optional) parameters to all of the var functions.

TODO:
-return true/false if var (doesn't) exist