added service plans tab

This change set mainly incorporated some of Russell's review comments.  It
 1) added details table to service plans tab;
 2) moved service instaces link from the main table to the details table;
 3) picked up additional field to the details table.
 4) reformated the code.
 5) added test cases for the details table.

added test cases for the details table of service plans tab.