renamed property _apimethods to __apimethods
handle empty feeds

if a list or library is empty, there is no $xml.feed.entry element