[ks] Add support for %pack and %attachment sections.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>