Updated the compile-time metaprogramming utilities

- Added the apply_on_seq_pack and to_string meta-functions.
- Updated/addded test cases.