Makes base components abstract

Added missing abstract modifier to base classes (activity and
fragments).