Add Nested  List into $form
Using #markup is ok, you want to use theme_item_list to easily build your list and add html attributes to it:
https://api.drupal.org/api/drupal/includes%21theme.inc/function/theme_item_list/7