Add std::initializer_list support to list

Add std::initializer_list support to list.

Tested on clang and g++