support multiple import sections:

1. fix in syntax definition
2. add runtime libraries only once
3. use specific generator rules `module-to-str` and `section-to-str`