[#1058] Convert tools/embedcontent from BML

* also specify the keys, because the keys of args with blank values are
  not returned from $r->get_args
Merge pull request #1077 from afuna/convert-embedcontent-bug-1058

[#1058] Convert tools/embedcontent from BML