Fixed empty btn-group on edit mongo one

When mongo one field has no list/create/delete buttons related, template outputs 

    <span class="btn-group"></span>

and .btn-group element even empty occupy space. 

This change ensure that .btn-group element is added only with corresponding button(s).