updated Firebase library and references
updated for v1.4 platform
Updated for v1.4 platform version and latest Firebase
Use latest Firebase lib, fix references and config
updated for v2 platform