Support multi level keys in compose().

Support get value of key like this:
- a.b.c: 3 level of keys
- a.*.c: 3 level of keys, don't care the second level key name

Also add tests for them.