Add temporary applied classes list in map, in case they are set before style is loaded. #620
Only set applied class list if it is not empty.
Add functionality to get default transition duration from native code. Use it to save and restore state. #617