How do I eject the media devices or phones that are group under the Portable Devices category since there is no eject options
Portable devices (like phones and media players) do not need, nor can they be, ejected before removing. That's why you won’t see a "Safely Remove" option in the tray menu. You might find this article useful.
The relevant information from the article is that Windows gives Portable Devices special treatment. They do not have to be ejected / unmounted. If it makes you feel better, though, look at your notifications (if not Android 4.4.2 YMMV). You'll see "USB connected" as "Media sync (MTP)." Tap it and choose "Charge phone." Windows no longer sees your phone as a Portable Device.