Australia's national science agency will team with an electricity retailer to find out whether electric cars can be used to power homes and back up the grid.