New REST api

New REST api with CRUD operations over community, collections, items,
bitstreams.
HTTPS

Change from HTTP access to HTTPS method.
Repaired compilation bug annouced by CI.

Removed only one line with import of non exsiting class.
Added lincense headers.

Added lincense headers.
Added finally statements.

Added finally statements with context.abort() to cover all exception.
Formated source and better method for finding item.

All source is formated by DSpace code formater. Better method for
searching item by metadata field. Changed to SQL select, because is more
faster.
Remove context abort for all REST createContext

Adding all the finally context.aborts, was one too many
All requests had aborted contexts, which errored always
Also a spelling fix
Shrink writeStats signature, DSO type constant unneccessary
Change /rest/bitstreams/:id/retrieve to @GET, post didn't make sense to me
Remove extra context.aborts in various rest helpers
Merge pull request #1 from LongsightGroup/rest-crud-cz

Quick fixes for REST Read endpoints
Repaired finally statements and community.

Repaired all finally statements. It was rewrited from context.abort to
if condition with check if context is valid. In community was changed
back name of subcommunities.
Added method for proccessing finally statements.

Resource.writeStats should not throw exception, because it is not
important to abort method by writings statistic. But must abort own
context.
Added method for processing all finally statements.
Moved return to end of methods.
Repaired some bugs.
Repaired little write bug.
Add logging to REST login/logout, add status endpoint
REST Login shouldn't attempt to set password.
REST collections resource to use dspace-api to do limit/offset
Merge pull request #2 from peterdietz/rest-crud-cz

REST API status and collection pagination
Added missing license header.

Added missing license header in Status.java.
Merge pull request #666 from ctu-developers/master

DS-2168: New REST api with CRUD operations.